<%@ Page language="C#" validateRequest="false"AutoEventWireup="true" CodeFile="translate.aspx.cs" Inherits="translate" %>
<!--
Copyright 2006 Jochen Jonckheere
Distributed under the terms of the GNU General Public License
-->
<!-- #include file = "inc.aspx" -->
<html>
<head>
    <title id="titl" runat="server">btnet send email</title>
    <link href="btnet.css" type="text/css" rel="StyleSheet" />
</head>
<body>
    <% security.write_menu(Response, Util.get_setting("PluralBugLabel","bugs")); %>
    <div class="align">
        <table border="0">
            <tbody>
                <tr>
                    <td>
                        <a id="back_href" href="" runat="server">back to <asp:Label ID="singular_bug_label" runat="server"></asp:Label></a>
                        <form enctype="multipart/form-data" runat="server">
							<table border="0" class="frm">
                                <tbody>
                                    <tr>
                                        <td class="lbl">
                                            Translation mode: <asp:DropDownList id="mode" runat="server" /></td>
                                    </tr>
                                        <td class="lbl">
                                            Source text:</td>
									</tr>
									<tr>
                                        <td>
                                            <textarea class="txt" id="source" rows="15" cols="72" runat="server"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="middle">
                                            <input class="btn" id="sub" type="submit" value="Translate" runat="server" />
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
							<br>
							<asp:Panel id="pnl" runat="server" visible="false">
								<table class="cmt">
									<tbody>
										<tr>
											<td>
												<span class=pst>translated from <%= mode.SelectedItem %> on <%= DateTime.Now %></span>
												<br>
												<br>
												<asp:Label id="dest" runat="server" cssclass="cmt_text" />										</td>
										</tr>
									</tbody>
								</table>
							</asp:Panel>
                             <input id="bugid" type="hidden" runat="server" />
                        </form></td>
                </tr>
            </tbody>
        </table>

    </div>
</body>
</html>